package cn.sicnu.cs.employment.domain.vo;

import cn.sicnu.cs.employment.domain.entity.BgAppeal;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Deprecated
public class BackgroundInfoVo {

    private Long id; //记录id

    private Long empId; //绑定员工id

    private Long judgeId; //绑定评价人的id

    private Integer type; //评价类型【阶段性评价、培训经历、奖惩、面试结果】

    private String project; //评价对应的项目

    private String proDescription; //评价对应的项目的描述

    private String proPosition; //评价对应的项目中担任的职务

    private String proTime; //评价对应的项目的开始时间

    private String contribution; //员工对该项目的贡献

    private String attitude; // 态度

    private String content; //内容

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date time; //时间

    // ======== VO ========

    private String img; //图片

    private List<BgAppeal> appeals; // 对于评价的申诉记录

}